﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="Manager_case_Edit" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" EnableAjax="true" />
    <ext:HiddenField ID="hfPicUrl" runat="server">
    </ext:HiddenField>
    <ext:Form ID="SimpleForm1" runat="server" BodyPadding="20px" ShowHeader="false" Title="" ShowBorder="false">
        <Rows>
            <ext:FormRow>
                <Items>
                    <ext:TextBox ID="txtName" runat="server" Required="true" ShowLabel="true" ShowRedStar="true"
                        Label="案例名称" Text="">
                    </ext:TextBox>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:DropDownList ID="ddllmType" runat="server" Required="true" ShowRedStar="true"
                        ShowLabel="true" Label="案例类别">
                    </ext:DropDownList>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:ContentPanel ID="ContentPanel1" runat="server" BodyPadding="0px" ShowBorder="false"
                        ShowHeader="false" Title="ContentPanel">
                 <FCKeditorV2:FCKeditor ID="txtcontent" Height="400px" runat="server"  ToolbarSet="Default" >
        </FCKeditorV2:FCKeditor>
            

            
                    </ext:ContentPanel>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
            <Items>
                <ext:ContentPanel ID="ContentPanel2" runat="server" BodyPadding="5px" EnableBackgroundColor="false"
                    ShowBorder="false" ShowHeader="false" Title="ContentPanel" Height="5"></ext:ContentPanel>
            </Items>
            </ext:FormRow>
            <ext:FormRow >
                <Items>
                    <ext:FileUpload ID="FileUpload1"  runat="server" Required="true" Width="250px"  EmptyText="最佳大小：178*123"
                        ShowRedStar="true" Label="列表图片">
                    </ext:FileUpload>
                    <ext:Panel ID="plPic" Visible="true" runat="server" BodyPadding="0px" EnableBackgroundColor="false"
                        ShowBorder="false" ShowHeader="false" Title="false"  Width="100px" Height="25px" Layout="Absolute">
                        <Items>
                            <ext:HyperLink ID="hyplnkLook" runat="server" Width="60px" Height="25px" AbsoluteX="10px" AbsoluteY="0px" Label="" ShowLabel="false" NavigateUrl=""
                                Target="_blank" Text="查看">
                            </ext:HyperLink>
                            <ext:LinkButton ID="lnkDelete" runat="server" Label=""  Width="60px" 
                                Height="25px"  AbsoluteX="50px" AbsoluteY="0px" ShowLabel="false" Text="删除" 
                                OnClick="lnkDelete_Click" ConfirmText="确定要删除吗？">
                            </ext:LinkButton>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:Panel ID="Panel1" runat="server" BodyPadding="5px" EnableBackgroundColor="false"
                        ShowBorder="false" ShowHeader="false" Title="Panel" AutoHeight="true" AutoWidth="true"
                        BoxConfigPosition="Center" Layout="HBox">
                        <Items>
                            <ext:Button ID="btnSave" Text="保存" OnClick="btnSave_Click" ValidateForms="SimpleForm1"
                                Icon="SystemSave" EnablePostBack="true" runat="server">
                            </ext:Button>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormRow>
        </Rows>
    </ext:Form>
    </form>
</body>
</html>
